﻿//
// *************************************************************************************
// WP-Framework
// 
// Developed by
// Lukas Kretschmar (lkretschmar.dev@bluewin.ch)
//
// Switzerland, Copyright (c) 2013 lkretschmar
// This content is released under the MIT License (http://opensource.org/licenses/MIT).
//     
// *************************************************************************************
//
//



using Microsoft.VisualStudio.TestTools.UnitTesting;
using KretschIT.WP_Fx.EasyMoq.Generator.Tests.Helpers.Objects;
using KretschIT.WP_Fx.EasyMoq.Generator.Tests.Helpers.Inheritance;

namespace KretschIT.WP_Fx.EasyMoq.Generator.Tests
{
    [TestClass]
    public class EasyMoqTest
    {
        [TestMethod]
        public void Test_Mock()
        {
            var mock = Easy.Moq.Mock<ITestObject>();
            Assert.IsNotNull(mock);
        }

        [TestMethod]
        public void Test_AllowOtherAssemblyToUseFactory()
        {
            Easy.Moq.Mock<ITestObject>();
            Other.Other.UseEasyMoq();
            Easy.Moq.Mock<ITestObject>();
        }
    }
}
